#ifndef __STORMWIDGET_STORMWIDGET_UILIBRARY_CSINGLELINEEDITWND_SINGLELINEEDITWND_H
#define __STORMWIDGET_STORMWIDGET_UILIBRARY_CSINGLELINEEDITWND_SINGLELINEEDITWND_H

#include "WindowWnd.h"

class CSingleLineEditUI;

class CSingleLineEditWnd:public CWindowWnd
{
public:
	CSingleLineEditWnd(void);
	virtual ~CSingleLineEditWnd(void);

	void Init(CSingleLineEditUI* pOwner);

	LPCTSTR GetWindowClassName() const;
	LPCTSTR GetSuperClassName() const;
	void OnFinalMessage(HWND hWnd);

	LRESULT HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
	LRESULT OnKillFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
	LRESULT OnEditChanged(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);

protected:
	CSingleLineEditUI* m_pOwner;
};
#endif //__STORMWIDGET_STORMWIDGET_UILIBRARY_CSINGLELINEEDITWND_SINGLELINEEDITWND_H